Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add models information to default workflow. #321

Merged
merged 5 commits into from
Aug 6, 2024
Merged

Add models information to default workflow. #321

merged 5 commits into from
Aug 6, 2024

Conversation

robinjhuang
Copy link
Member

@robinjhuang robinjhuang commented Aug 6, 2024

Adding models metadata to the default workflow. Will implement downloading models for imported workflows in another PR.

@@ -1,6 +1,15 @@
import { z } from 'zod'
import { fromZodError } from 'zod-validation-error'

// Definition of an AI model file used in the workflow.
const ModelFile = z.object({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModelFile => zModelFile for naming consistency.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@huchenlei huchenlei merged commit 6fe2297 into main Aug 6, 2024
4 checks passed
@huchenlei huchenlei deleted the rh-models branch August 6, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants